package events;

import interfaces.ICalculate;

import java.io.Serializable;

public class CountryAction implements Serializable{
	
	
	/**
	 * 
	 */
	private static final long serialVersionUID = -7421602084928555807L;
	private ICalculate logic;
	private AttackAction attackaction;
	private MoveAction moveaction;
	private ClickAction clickaction;
	private CloseAction closeaction;
	
	public CountryAction(ICalculate logic)
	{
		this.logic = logic;		
		attackaction = new AttackAction(this.logic);
		moveaction = new MoveAction(this.logic);
		clickaction = new ClickAction(this.logic);
		closeaction = new CloseAction();
	}
	
	public AttackAction getAttackAction()
	{
		return this.attackaction;
	}
	
	public MoveAction getMoveAction()
	{
		return this.moveaction;
	}
	
	public ClickAction getClickAction()
	{
		return this.clickaction;
	}
	public CloseAction getCloseAction()
	{
		return this.closeaction;
	}
}
